Optimal. Leaf size=271 \[ -\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}}+\frac {16 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{3 d^{5/2} r^2}+\frac {2 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )^2}{d^{5/2} r^2}+\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {4 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right ) \log \left (\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right )}{d^{5/2} r^2}-\frac {2 b n \text {Li}_2\left (1-\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right )}{d^{5/2} r^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.29, antiderivative size = 271, normalized size of antiderivative = 1.00, number of steps
used = 15, number of rules used = 9, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.360, Rules used = {272, 53, 65,
214, 2390, 6131, 6055, 2449, 2352} \begin {gather*} -\frac {2 b n \text {PolyLog}\left (2,1-\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right )}{d^{5/2} r^2}+\frac {2}{3} \left (-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}+\frac {3}{d^2 r \sqrt {d+e x^r}}+\frac {1}{d r \left (d+e x^r\right )^{3/2}}\right ) \left (a+b \log \left (c x^n\right )\right )+\frac {2 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )^2}{d^{5/2} r^2}+\frac {16 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{3 d^{5/2} r^2}-\frac {4 b n \log \left (\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right ) \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r^2}-\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 214
Rule 272
Rule 2352
Rule 2390
Rule 2449
Rule 6055
Rule 6131
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c x^n\right )}{x \left (d+e x^r\right )^{5/2}} \, dx &=\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \left (\frac {2}{3 d r x \left (d+e x^r\right )^{3/2}}+\frac {2}{d^2 r x \sqrt {d+e x^r}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r x}\right ) \, dx\\ &=\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )+\frac {(2 b n) \int \frac {\tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{x} \, dx}{d^{5/2} r}-\frac {(2 b n) \int \frac {1}{x \sqrt {d+e x^r}} \, dx}{d^2 r}-\frac {(2 b n) \int \frac {1}{x \left (d+e x^r\right )^{3/2}} \, dx}{3 d r}\\ &=\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )+\frac {(2 b n) \text {Subst}\left (\int \frac {\tanh ^{-1}\left (\frac {\sqrt {d+e x}}{\sqrt {d}}\right )}{x} \, dx,x,x^r\right )}{d^{5/2} r^2}-\frac {(2 b n) \text {Subst}\left (\int \frac {1}{x \sqrt {d+e x}} \, dx,x,x^r\right )}{d^2 r^2}-\frac {(2 b n) \text {Subst}\left (\int \frac {1}{x (d+e x)^{3/2}} \, dx,x,x^r\right )}{3 d r^2}\\ &=-\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}}+\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )+\frac {(4 b n) \text {Subst}\left (\int \frac {x \tanh ^{-1}\left (\frac {x}{\sqrt {d}}\right )}{-d+x^2} \, dx,x,\sqrt {d+e x^r}\right )}{d^{5/2} r^2}-\frac {(2 b n) \text {Subst}\left (\int \frac {1}{x \sqrt {d+e x}} \, dx,x,x^r\right )}{3 d^2 r^2}-\frac {(4 b n) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x^r}\right )}{d^2 e r^2}\\ &=-\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}}+\frac {4 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r^2}+\frac {2 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )^2}{d^{5/2} r^2}+\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {(4 b n) \text {Subst}\left (\int \frac {\tanh ^{-1}\left (\frac {x}{\sqrt {d}}\right )}{1-\frac {x}{\sqrt {d}}} \, dx,x,\sqrt {d+e x^r}\right )}{d^3 r^2}-\frac {(4 b n) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x^r}\right )}{3 d^2 e r^2}\\ &=-\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}}+\frac {16 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{3 d^{5/2} r^2}+\frac {2 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )^2}{d^{5/2} r^2}+\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {4 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right ) \log \left (\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right )}{d^{5/2} r^2}+\frac {(4 b n) \text {Subst}\left (\int \frac {\log \left (\frac {2}{1-\frac {x}{\sqrt {d}}}\right )}{1-\frac {x^2}{d}} \, dx,x,\sqrt {d+e x^r}\right )}{d^3 r^2}\\ &=-\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}}+\frac {16 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{3 d^{5/2} r^2}+\frac {2 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )^2}{d^{5/2} r^2}+\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {4 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right ) \log \left (\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right )}{d^{5/2} r^2}-\frac {(4 b n) \text {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1-\frac {\sqrt {d+e x^r}}{\sqrt {d}}}\right )}{d^{5/2} r^2}\\ &=-\frac {4 b n}{3 d^2 r^2 \sqrt {d+e x^r}}+\frac {16 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{3 d^{5/2} r^2}+\frac {2 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )^2}{d^{5/2} r^2}+\frac {2}{3} \left (\frac {1}{d r \left (d+e x^r\right )^{3/2}}+\frac {3}{d^2 r \sqrt {d+e x^r}}-\frac {3 \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right )}{d^{5/2} r}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {4 b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^r}}{\sqrt {d}}\right ) \log \left (\frac {2 \sqrt {d}}{\sqrt {d}-\sqrt {d+e x^r}}\right )}{d^{5/2} r^2}-\frac {2 b n \text {Li}_2\left (1-\frac {2}{1-\frac {\sqrt {d+e x^r}}{\sqrt {d}}}\right )}{d^{5/2} r^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 0.20, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a+b \log \left (c x^n\right )}{x \left (d+e x^r\right )^{5/2}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {a +b \ln \left (c \,x^{n}\right )}{x \left (d +e \,x^{r}\right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\ln \left (c\,x^n\right )}{x\,{\left (d+e\,x^r\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________